<!-- Company Edit -->
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="app" />
  <gui:resources components="autoComplete"/>
  <title>Edit Company</title>
</head>
<body>
  <div class="body">
    <h1>Edit Company</h1>
    <g:render template="/common/flashMessage" />
    <g:render template="/common/beanError" model="[bean:company]" />
    <div class="dialog">
      <g:form method="post" >
        <table class="mainContent">
          <tr>
            <td>
              <table class="sideContent">
                <tbody>
                  <g:render template="editCompanyContent" />
                </tbody>
              </table>
            </td>
            <td>
              <table class="sideContent">
                <tbody>
                  <g:render template="editContactCallContent" />
                </tbody>
              </table>
            </td>
          </tr>
        </table>
        <input type="hidden" name="id" value="${company?.id}" />
        <input type="hidden" name="returnAction" value="edit" />
        <input type="hidden" name="version" value="${company?.version}" />
        <tdcmw:submitFormButton action="forwardShow" label="Show Company" />
        <tdcmw:submitFormButton action="update" label="Update" />
      </g:form>
    </div>
  </div>
</body>
